; Music of Super Scramble Simulator (1989) (Gremlin Graphics) (Ben Daglish)
; Ripped by Megachur the 04/11/2006

	write "SUPERSCS.BIN"

music_date_rip	equ &04b6
music_adr	equ &6000
first_theme	equ 0
last_theme	equ 1

	read "music_header_v1_0.asm"

;6000
	jp l608e	; init 
	jp l6116	; play 
.l6006
.music_end
	db #00
	jp l6011	; init sound effects
;
.stop_music
;
	xor a
	ld (l6006),a
	jp l6495
.l6011
	ld l,a
	ld e,a
	ld h,#00
	ld d,h
	add hl,hl
	add hl,de
	add hl,hl
	add hl,hl
	add hl,de
	ld iy,l6c18
	ex de,hl
	add iy,de
	ld l,(iy+#0a)
	ld h,(iy+#0b)
	ld c,(iy+#0c)
	ld ix,l63da
	call l6411
	set 7,(ix+#11)
	ret
.l603e equ $ + 7
.l6038 equ $ + 1
.l6037
	db #00,#00,#00,#00,#00,#00,#00,#00
.l6046 equ $ + 7
.l6044 equ $ + 5
.l6043 equ $ + 4
.l6042 equ $ + 3
.l6041 equ $ + 2
.l6040 equ $ + 1
	db #00,#00,#00,#00,#00,#00,#00,#00
.l604d equ $ + 6
.l604c equ $ + 5
	db #00,#00,#00,#00,#00,#08,#00,#00
.l6056 equ $ + 7
.l6055 equ $ + 6
.l6053 equ $ + 4
	db #00,#00,#00,#00,#00,#00,#00,#00
.l605b equ $ + 4
.l6059 equ $ + 2
.l6058 equ $ + 1
.l6057
	db #00,#00,#00,#00,#00,#00,#00,#00
.l6062 equ $ + 3
.l6061 equ $ + 2
	db #00,#00,#10,#00,#00,#00,#00,#00
.l606e equ $ + 7
.l606d equ $ + 6
.l606c equ $ + 5
.l606b equ $ + 4
.l606a equ $ + 3
.l6068 equ $ + 1
	db #00,#00,#00,#00,#00,#00,#00,#00
.l6076 equ $ + 7
.l6070 equ $ + 1
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00
;
.init_music
.l608e
;
	push af
	call l6495
	pop af
	ld l,a
	add a
	add l
	add a
	ld hl,l6ad2
	add l
	ld l,a
	jr nc,l609f
	inc h
.l609f
	ld e,(hl)
	inc hl
	ld d,(hl)
	inc hl
	ld (l6038),de
	ld e,(hl)
	inc hl
	ld d,(hl)
	inc hl
	ld (l604d),de
	ld e,(hl)
	inc hl
	ld d,(hl)
	inc hl
	ld (l6062),de
	xor a
	ld (l6041),a
	ld (l6056),a
	ld (l606b),a
	ld (l6046),a
	ld (l605b),a
	ld (l6070),a
	cpl
	ld (l6042),a
	ld (l6057),a
	ld (l606c),a
	ld a,#01
	ld (l6040),a
	ld (l6055),a
	ld (l606a),a
	ld (l6043),a
	ld (l6058),a
	ld (l606d),a
	ld hl,l6076
	ld bc,#030a
.l60ee
	xor a
.l60ef
	ld (hl),a
	inc hl
	add c
	ld (hl),a
	inc hl
	add c
	cp #50
	jr nz,l60ef
	djnz l60ee
	ld hl,l6b96
	ld (l603e),hl
	ld (l6053),hl
	ld (l6068),hl
	ld a,#ff
	ld (l6044),a
	ld (l6059),a
	ld (l606e),a
	ld (l6006),a
	ret
;
.play_music
.l6116
;
	call l64be
	ld a,(l6006)
	and a
	ret z
	ld a,(l6044)
	ld hl,l6059
	or (hl)
	ld hl,l606e
	or (hl)
	ld (l6006),a
	jr nz,l6140
	xor a
	ld (l6006),a
	ld a,(l63d9)
	and #3f
	cp #3f
	ret z
	ld a,#01
	ld (l6006),a
	ret
.l6140
	ld iy,l6037
	ld ix,l63da
	call l615e
	ld iy,l604c
	ld ix,l63ec
	call l615e
	ld iy,l6061
	ld ix,l63fe
.l615e
	call l629f
	ld a,(iy+#0b)
	and a
	jr z,l61e3
.l6167
	dec (iy+#09)
	jr z,l617e
	ld a,(iy+#03)
	ld (iy+#05),a
	ld a,(iy+#04)
	ld (iy+#06),a
	ld (iy+#0b),#00
	jr l61e3
.l617e
	ld (iy+#09),#01
	ld l,(iy+#01)
	ld h,(iy+#02)
.l6188
	ld a,(hl)
	cp #80
	jr c,l61c3
	cp #fe
	jr nz,l619a
	inc hl
	ld a,(hl)
	ld (iy+#0a),a
	inc hl
	jp l6188
.l619a
	cp #ff
	jr nz,l61a3
	xor a
	ld (iy+#0d),a
	ret
.l61a3
	cp #c0
	jr nc,l61b0
	and #1f
	ld (iy+#09),a
	inc hl
	jp l6188
.l61b0
	and #07
	add (iy+#00)
	ld de,l6076
	add e
	ld e,a
	jr nc,l61bd
	inc d
.l61bd
	inc hl
	ldi
	jp l6188
.l61c3
	ld (iy+#0b),#00
	inc hl
	ld (iy+#01),l
	ld (iy+#02),h
	ld c,a
	ld b,#00
	ld hl,l6aa2
	add hl,bc
	ld e,(hl)
	ld hl,l6aba
	add hl,bc
	ld d,(hl)
	ld (iy+#03),e
	ld (iy+#04),d
	jr l61e9
.l61e3
	ld e,(iy+#05)
	ld d,(iy+#06)
.l61e9
	dec (iy+#0c)
	jr z,l61fb
	ld a,(de)
	cp #80
	call nc,l6265
	ld (iy+#05),e
	ld (iy+#06),d
	ret
.l61fb
	ld a,(de)
	cp #80
	jr c,l620c
	call l6265
	ld a,(iy+#0b)
	and a
	jr z,l61fb
	jp l6167
.l620c
	cp #7f
	jr z,l6258
	cp #7e
	jr nz,l621d
	inc de
	ld a,(de)
	ld l,a
	inc de
	ld a,(de)
	ld h,a
	jp l6231
.l621d
	add (iy+#0a)
	add #0c
	ld (iy+#0e),a
	ld hl,l632f
	add a
	ld c,a
	ld b,#00
	add hl,bc
	ld a,(hl)
	inc hl
	ld h,(hl)
	ld l,a
.l6231
	ld a,(iy+#0f)
	or #c0
	ld (iy+#14),a
	inc de
	ld a,(de)
	inc de
	ld (iy+#0c),a
	ld c,a
	ld (iy+#05),e
	ld (iy+#06),d
	ld e,(iy+#07)
	ld a,(iy+#08)
	ld hy,a
	ld ly,e
	bit 7,(ix+#11)
	ret nz
	jp l6411
.l6258
	inc de
	ld a,(de)
	inc de
	ld (iy+#0c),a
	ld (iy+#05),e
	ld (iy+#06),d
	ret
.l6265
	ld a,(de)
	cp #88
	jr nc,l6283
	and #07
	add (iy+#00)
	ld c,a
	ld b,#00
	ld hl,l6076
	add hl,bc
	ld c,(hl)
	ld hl,l6b96
	add hl,bc
	ld (iy+#07),l
	ld (iy+#08),h
	inc de
	ret
.l6283
	cp #ff
	jr nz,l628c
	ld (iy+#0b),#ff
	ret
.l628c
	cp #c0
	jr nc,l6297
	and #0f
	ld (iy+#0f),a
	inc de
	ret
.l6297
	inc de
	cp #c2
	ret z
	inc de
	inc de
	inc de
	ret
.l629f
	bit 7,(ix+#11)
	ret nz
	ld a,(iy+#14)
	bit 7,a
	ret z
	and #3f
	jr nz,l62b3
	res 7,(iy+#14)
	ret
.l62b3
	ld d,#07
	bit 6,(iy+#14)
	jr nz,l62e7
	dec (iy+#12)
	ret nz
	dec (iy+#13)
	jp z,l62e7
	ld l,(iy+#10)
	ld h,(iy+#11)
	inc l
	ld (iy+#10),l
	jp nz,l62d6
	inc h
	ld (iy+#11),h
.l62d6
	ld a,(hl)
	and d
	ld (iy+#12),a
	ld a,(hl)
	rrca
	rrca
	rrca
	and #1f
	add (iy+#0e)
	jp l631c
.l62e7
	ld hl,l64e8
	ld a,(iy+#14)
	add a
	add a
	add a
	ld e,a
	add hl,de
	bit 7,(hl)
	jr nz,l6301
	bit 6,(iy+#14)
	jr nz,l6301
	ld (iy+#13),#01
	ret
.l6301
	res 6,(iy+#14)
	ld a,(hl)
	rrca
	rrca
	rrca
	and d
	ld (iy+#12),a
	ld a,(hl)
	and d
	inc a
	ld (iy+#13),a
	ld (iy+#10),l
	ld (iy+#11),h
	ld a,(iy+#0e)
.l631c
	add a
	ld hl,l632f
	add l
	ld l,a
	jr nc,l6325
	inc h
.l6325
	ld a,(hl)
	ld (ix+#03),a
	inc hl
	ld a,(hl)
	ld (ix+#04),a
	ret
.l632f
	dw #0eee,#0e18
	dw #0d4d,#0c8e,#0bda,#0b2f
	dw #0a8f,#09f7,#0968
.l6341
	dw #08e1,#0861,#07e9,#0777
	dw #070c,#06a7,#0647,#05ed
	dw #0598,#0547,#04fc,#04d4
	dw #0470,#0431,#03f4,#03dc
	dw #0386,#0353,#0324,#02f6
	dw #02cc,#02a4,#027e,#025a
	dw #0238,#0218,#01fa,#01de
	dw #01c3,#01aa,#0192,#017b
	dw #0166,#0152,#013f,#012d
	dw #011c,#010c,#00fd,#00ef
	dw #00e1,#00d5,#00c9,#00be
	dw #00b3,#00a9,#009f,#0096
	dw #008e,#0086,#007f,#0077
	dw #0071,#006a,#0064,#005f
	dw #0059,#0054,#0050,#004b
	dw #0047,#0043,#003f,#003c
	dw #0038,#0035,#0032,#002f
	dw #002d,#002a,#0028,#0026
	dw #0024,#0022,#0020,#0018
.l63d9
	db #3f
.l63da
	db #fe
.l63df equ $ + 4
.l63de equ $ + 3
.l63dd equ $ + 2
	db #f7,#09,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
.l63f1 equ $ + 6
.l63f0 equ $ + 5
.l63ef equ $ + 4
.l63ec equ $ + 1
.l63eb
	db #00,#fd,#ef,#12,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
.l6402 equ $ + 7
.l6401 equ $ + 6
.l63fe equ $ + 3
.l63fd equ $ + 2
	db #00,#00,#00,#fb,#df,#24,#00,#00
.l6403
	db #00,#00,#00,#00,#00,#00,#00,#00
.l640f equ $ + 4
	db #00,#00,#00,#00,#00
.l6410
	db #00
.l6411
	ld a,ly
	ld (ix+#0f),a
	ld a,hy
	ld (ix+#10),a
	ld (ix+#03),l
	ld (ix+#04),h
	ld (ix+#06),c
	ld a,(iy+#05)
	ld (ix+#07),a
	ld a,(iy+#06)
	and #7f
	srl a
	jr nz,l6435
	ld a,#01
.l6435
	ld (ix+#08),a
	ld a,(iy+#07)
	ld (ix+#0b),a
	ld a,(iy+#08)
	ld (ix+#0c),a
	xor a
	ld (ix+#09),a
	ld (ix+#0a),a
	ld a,(l63d9)
	or (ix+#02)
	ld c,(iy+#09)
	ld (ix+#11),c
	bit 0,c
	jr z,l645e
	and (ix+#00)
.l645e
	bit 1,c
	jr z,l6465
	and (ix+#01)
.l6465
	ld (l63d9),a
	bit 2,c
	jr nz,l6476
	ld hl,l65ac
	ld (ix+#0d),l
	ld (ix+#0e),h
	ret
.l6476
	call l6664
	ld a,(iy+#00)
	ld c,#0d
	call l667b
	ld a,(iy+#04)
	ld c,#0b
	call l667b
	inc c
	xor a
	call l667b
	ld (ix+#05),#ff
	jp l6670
.l6495
	call l6664
	ld c,#07
	ld a,(l63d9)
	or #3f
	ld (l63d9),a
	call l667b
	xor a
	inc c
	call l667b
	inc c
	call l667b
	inc c
	call l667b
	ld (l63eb),a
	ld (l63fd),a
	ld (l640f),a
	jp l6670
.l64be
	ld a,(l63d9)
	and #3f
	cp #3f
	ret z
	ld ix,l63da
	call l657a
	ld ix,l63ec
	call l657a
	ld ix,l63fe
	call l657a
	call l6664
	ld ix,l63da
	ld c,#07
	ld a,(l63d9)
.l64e8 equ $ + 1
	call l667b
	ld c,#00
	ld a,(l63dd)
	add (ix+#09)
	bit 1,(ix+#11)
	jp z,l64fc
	ld (l6410),a
.l64fc
	call l667b
	inc c
	ld a,(l63de)
	adc (ix+#0a)
	call l667b
	inc c
	ld a,(l63ef)
	add (ix+#1b)
	bit 1,(ix+#23)
	jp z,l651a
	ld (l6410),a
.l651a
	call l667b
	inc c
	ld a,(l63f0)
	adc (ix+#1c)
	call l667b
	inc c
	ld a,(l6401)
	add (ix+#2d)
	bit 1,(ix+#35)
	jp z,l6538
	ld (l6410),a
.l6538
	call l667b
	inc c
	ld a,(l6402)
	adc (ix+#2e)
	call l667b
	inc c
	ld a,(l6410)
	rrca
	rrca
	rrca
	call l667b
	ld c,#08
	ld a,(l63df)
	srl a
	srl a
	srl a
	call l667b
	inc c
	ld a,(l63f1)
	srl a
	srl a
	srl a
	call l667b
	inc c
	ld a,(l6403)
	srl a
	srl a
	srl a
	call l667b
	jp l6670
.l657a
	ld a,(l63d9)
	and (ix+#02)
	cp (ix+#02)
	ret z
	ld a,(ix+#0f)
	ld ly,a
	ld a,(ix+#10)
	ld hy,a
	ld a,(ix+#06)
	and a
	jr z,l659b
	cp #ff
	jr z,l659b
	dec (ix+#06)
.l659b
	call l6622
	bit 2,(iy+#09)
	jp nz,l661b
	ld l,(ix+#0d)
	ld h,(ix+#0e)
	jp (hl)
.l65ac
	ld a,(ix+#05)
	add (iy+#00)
	cp (iy+#04)
	jr nc,l65bb
	ld (ix+#05),a
	ret
.l65bb
	ld a,(iy+#04)
	ld (ix+#05),a
	ld hl,l65cb
	ld (ix+#0d),l
	ld (ix+#0e),h
	ret
.l65cb
	ld a,(ix+#05)
	add (iy+#01)
	jp m,l65dd
	cp (iy+#02)
	jr c,l65dd
	ld (ix+#05),a
	ret
.l65dd
	ld a,(iy+#02)
	ld (ix+#05),a
	ld hl,l65ed
	ld (ix+#0d),l
	ld (ix+#0e),h
	ret
.l65ed
	ld a,(ix+#06)
	and a
	ret nz
	ld hl,l65fc
	ld (ix+#0d),l
	ld (ix+#0e),h
	ret
.l65fc
	ld a,(ix+#05)
	add (iy+#03)
	jp m,l6609
	ld (ix+#05),a
	ret
.l6609
	ld (ix+#05),#00
	ld a,(l63d9)
	or (ix+#02)
	ld (l63d9),a
	res 7,(ix+#11)
	ret
.l661b
	ld a,(ix+#06)
	and a
	ret nz
	jr l6609
.l6622
	ld a,(ix+#07)
	and a
	jr z,l662f
	cp #ff
	ret z
	dec (ix+#07)
	ret nz
.l662f
	ld l,(ix+#09)
	ld h,(ix+#0a)
	ld c,(ix+#0b)
	ld b,(ix+#0c)
	add hl,bc
	ld (ix+#09),l
	ld (ix+#0a),h
	dec (ix+#08)
	ret nz
	ld a,(iy+#06)
	and a
	ret z
	jp p,l6653
	ld (ix+#07),#ff
	ret
.l6653
	ld (ix+#08),a
	ld a,c
	cpl
	ld c,a
	ld a,b
	cpl
	ld b,a
	inc bc
	ld (ix+#0b),c
	ld (ix+#0c),b
	ret
.l6664
	ld bc,#f782
	out (c),c
	ld de,#c000
	ld hl,#f680
	ret
.l6670
	ld bc,#f40e
	out (c),c
	ld b,h
	out (c),d
	out (c),e
	ret
.l667b
	ld b,#f4
	out (c),c
	ld b,h
	out (c),d
	out (c),e
	ld b,#f4
	out (c),a
	ld b,h
	out (c),l
	out (c),e
	ret
.l668e
	db #80,#01,#0c,#01,#06,#81,#01,#06
	db #01,#06,#01,#06,#80,#01,#0c,#01
	db #06,#81,#01,#06,#01,#06,#01,#06
	db #80,#01,#0c,#01,#06,#81,#01,#06
	db #01,#06,#01,#06,#80,#04,#06,#01
	db #06,#06,#06,#01,#06,#07,#06,#08
.l66c3 equ $ + 5
.l66c0 equ $ + 2
	db #06,#ff,#7f,#90,#ff,#7f,#6c,#82
	db #12,#0c,#12,#0c,#12,#06,#12,#06
.l66cf equ $ + 1
	db #ff,#83,#3d,#06,#3d,#06,#3d,#06
.l66dd equ $ + 7
	db #82,#12,#0c,#83,#3d,#06,#ff,#85
	db #91,#20,#12,#20,#0c,#92,#1e,#60
	db #7f,#12,#91,#20,#12,#20,#0c,#93
	db #22,#60,#7f,#12,#91,#20,#12,#20
	db #0c,#92,#1e,#4e,#7f,#12,#1e,#0c
.l6704 equ $ + 6
	db #94,#1e,#78,#7f,#1e,#ff,#80,#01
	db #0c,#01,#06,#82,#10,#06,#81,#01
	db #06,#01,#06,#80,#01,#0c,#01,#06
	db #82,#10,#06,#81,#01,#06,#01,#06
	db #80,#01,#0c,#01,#06,#82,#10,#06
	db #81,#01,#06,#01,#06,#80,#04,#06
	db #01,#06,#06,#06,#82,#10,#06,#80
.l673b equ $ + 5
	db #07,#06,#08,#06,#ff,#86,#2a,#48
	db #80,#31,#06,#2f,#06,#2c,#06,#2a
	db #06,#28,#06,#25,#06,#86,#2a,#0c
	db #87,#2a,#0c,#28,#0c,#25,#48,#80
	db #31,#06,#2f,#06,#2c,#06,#2a,#06
	db #28,#06,#25,#06,#87,#22,#06,#25
	db #06,#27,#06,#28,#06,#27,#06,#25
	db #06,#86,#2a,#48,#80,#31,#06,#31
	db #06,#2f,#06,#34,#06,#33,#06,#31
	db #06,#87,#2f,#06,#2c,#06,#2a,#06
	db #28,#06,#27,#06,#23,#06,#25,#6c
	db #80,#36,#06,#34,#06,#31,#06,#36
.l679c equ $ + 6
	db #06,#34,#06,#31,#06,#ff,#81,#06
	db #0c,#06,#06,#82,#12,#06,#81,#06
.l67aa equ $ + 4
	db #06,#06,#06,#ff,#80,#04,#0c,#06
	db #06,#82,#12,#0c,#80,#09,#12,#0b
	db #06,#82,#12,#0c,#80,#02,#12,#04
	db #06,#82,#12,#0c,#80,#01,#12,#03
	db #06,#82,#12,#0c,#80,#0f,#06,#ff
.l67ce
	db #85,#93,#22,#12,#22,#0c,#94,#23
	db #2a,#92,#20,#12,#20,#0c,#93,#22
	db #2a,#22,#12,#22,#0c,#94,#23,#12
	db #23,#12,#92,#23,#12,#23,#12,#23
	db #06,#94,#23,#12,#23,#12,#93,#22
	db #12,#22,#0c,#94,#23,#2a,#92,#20
	db #12,#20,#0c,#93,#22,#2a,#91,#20
	db #12,#20,#0c,#94,#21,#12,#21,#12
	db #92,#21,#12,#21,#12,#21,#06,#20
.l681a equ $ + 4
	db #12,#20,#12,#ff,#87,#2a,#0c,#27
	db #0c,#25,#0c,#27,#0c,#25,#0c,#21
	db #0c,#22,#0c,#25,#0c,#22,#0c,#1e
	db #24,#1e,#06,#20,#06,#21,#06,#22
	db #06,#25,#06,#27,#06,#2a,#06,#2c
	db #06,#2a,#06,#2d,#06,#2c,#06,#2a
	db #06,#86,#2a,#06,#87,#2a,#06,#28
	db #06,#25,#06,#28,#06,#2f,#06,#86
	db #2a,#06,#87,#2a,#06,#27,#06,#25
	db #06,#27,#06,#2f,#06,#2e,#06,#2f
	db #06,#2e,#06,#86,#2a,#06,#87,#2a
	db #06,#27,#06,#23,#06,#25,#06,#27
	db #06,#28,#06,#2a,#06,#2c,#06,#2f
	db #06,#2e,#06,#2c,#06,#29,#06,#2a
	db #06,#2c,#06,#2a,#06,#27,#06,#25
	db #06,#27,#06,#2a,#06,#2c,#06,#2d
	db #06,#2c,#06,#2a,#06,#28,#06,#2a
	db #06,#2c,#06,#2d,#06,#2a,#06,#28
	db #06,#25,#06,#26,#06,#28,#06,#2a
	db #06,#28,#06,#26,#06,#21,#06,#1e
	db #06,#21,#06,#20,#06,#1e,#06,#1d
	db #06,#19,#06,#1e,#06,#20,#06,#ff
.l68c8 equ $ + 2
.l68c6
	db #95,#ff,#90,#80,#0d,#0c,#0d,#06
	db #81,#0d,#06,#0d,#06,#0d,#06,#80
	db #0d,#0c,#0d,#06,#81,#0d,#06,#17
.l68e5 equ $ + 7
.l68e2 equ $ + 4
	db #06,#19,#06,#ff,#1e,#90,#ff,#83
	db #3d,#06,#3d,#06,#3d,#06,#3d,#06
	db #3d,#06,#3d,#06,#82,#1e,#0c,#83
	db #3d,#06,#3d,#06,#3d,#06,#3d,#06
.l68ff equ $ + 1
	db #ff,#85,#94,#26,#90,#28,#90,#92
	db #26,#90,#28,#90,#94,#26,#90,#28
	db #90,#92,#26,#90,#94,#25,#90,#ff
.l6916
	db #87,#2a,#06,#2a,#06,#2a,#06,#2a
	db #06,#2a,#06,#2a,#06,#2a,#06,#2a
	db #06,#2a,#06,#2a,#06,#2a,#06,#2a
	db #06,#2a,#06,#2a,#06,#2a,#06,#2a
	db #06,#2a,#06,#2a,#06,#2a,#06,#2a
	db #06,#2a,#06,#2a,#06,#2a,#06,#2a
	db #06,#2a,#06,#2a,#06,#2a,#06,#2a
	db #06,#2a,#06,#2a,#06,#33,#06,#2a
	db #06,#2a,#06,#86,#2b,#06,#2a,#06
	db #87,#2a,#06,#2d,#06,#2c,#06,#2a
	db #06,#27,#06,#25,#06,#27,#06,#25
	db #24,#2f,#06,#2e,#06,#2c,#06,#2a
	db #06,#25,#06,#2a,#06,#2f,#06,#2e
	db #06,#2c,#06,#2a,#06,#27,#06,#2a
	db #06,#2f,#06,#2e,#06,#2c,#06,#2a
	db #06,#28,#06,#2a,#06,#2f,#06,#2e
	db #06,#2c,#06,#2a,#06,#27,#06,#2a
	db #06,#2f,#06,#2e,#06,#2c,#06,#2a
	db #06,#25,#06,#2a,#06,#2f,#06,#2e
	db #06,#2c,#06,#2a,#06,#27,#06,#2a
	db #06,#2f,#06,#2e,#06,#2c,#06,#2d
	db #06,#2a,#06,#28,#06,#2d,#06,#2c
	db #06,#2a,#06,#29,#06,#2a,#06,#2c
.l69d0 equ $ + 2
	db #06,#ff,#80,#09,#06,#09,#06,#15
	db #06,#09,#06,#0b,#06,#0b,#06,#17
	db #06,#0d,#0c,#0d,#06,#19,#06,#0d
	db #06,#0b,#06,#08,#06,#06,#06,#08
.l69f0 equ $ + 2
	db #06,#ff,#80,#09,#06,#09,#06,#15
	db #06,#09,#06,#0b,#06,#0b,#06,#17
.l6a02 equ $ + 4
	db #06,#06,#0c,#ff,#87,#28,#18,#27
	db #06,#25,#06,#23,#06,#25,#36,#2d
	db #18,#86,#2a,#06,#87,#2a,#06,#28
	db #06,#2a,#36,#28,#0c,#2a,#06,#28
	db #06,#27,#06,#25,#06,#23,#06,#25
	db #36,#86,#2b,#06,#87,#31,#06,#2f
	db #06,#2d,#06,#86,#2a,#06,#87,#2a
	db #06,#28,#06,#2a,#36,#7f,#90,#ff
.l6a3e
	db #83,#3d,#06,#3d,#06,#3d,#06,#3d
	db #06,#82,#12,#0c,#83,#3d,#06,#3d
.l6a50 equ $ + 2
	db #06,#ff,#80,#2d,#06,#2a,#06,#2f
	db #06,#2a,#06,#31,#06,#2a,#06,#34
	db #06,#33,#06,#2a,#06,#31,#06,#2f
	db #06,#2a,#06,#2d,#06,#2a,#06,#2c
.l6a72 equ $ + 4
	db #06,#2f,#66,#ff,#06,#06,#12,#06
	db #06,#06,#12,#06,#06,#06,#12,#06
.l6a81 equ $ + 3
	db #06,#0c,#ff,#34,#06,#33,#06,#2f
	db #06,#36,#06,#34,#06,#31,#06,#33
	db #06,#2d,#06,#2f,#06,#2a,#06,#2d
	db #06,#2c,#06,#28,#06,#2a,#06,#36
	db #06,#31,#66,#ff
.l6aa2
	db l668e,l66c0,l66c3,l66cf
	db l66dd,l6704,l673b,l679c
	db l67aa,l67ce,l681a,l68c6
	db l68c8,l68e2,l68e5,l68ff
	db l6916,l69d0,l69f0,l6a02
	db l6a3e,l6a50,l6a72,l6a81
;	db #8e,#c0,#c3,#cf,#dd,#04,#3b,#9c
;	db #aa,#ce,#1a,#c6,#c8,#e2,#e5,#ff
;	db #16,#d0,#f0,#02,#3e,#50,#72,#81
.l6aba
	db l668e/&100,l66c0/&100,l66c3/&100,l66cf/&100
	db l66dd/&100,l6704/&100,l673b/&100,l679c/&100
	db l67aa/&100,l67ce/&100,l681a/&100,l68c6/&100
	db l68c8/&100,l68e2/&100,l68e5/&100,l68ff/&100
	db l6916/&100,l69d0/&100,l69f0/&100,l6a02/&100
	db l6a3e/&100,l6a50/&100,l6a72/&100,l6a81/&100
;	db #66,#66,#66,#66,#66,#67,#67,#67
;	db #67,#67,#68,#68,#68,#68,#68,#68
;	db #69,#69,#69,#6a,#6a,#6a,#6a,#6a
.l6ad2
	dw l6ade,l6b30,l6b58  
	dw l6b7c,l6b8b,l6b93
.l6ade  
	db #8b,#00,#fe,#05
	db #00,#fe,#00,#83,#00,#fe,#05,#00
	db #fe,#02,#83,#05,#fe,#07,#05,#fe
	db #02,#83,#05,#fe,#07,#05,#fe,#00
	db #8c,#07,#08,#fe,#02,#83,#05,#fe
	db #07,#05,#fe,#02,#83,#05,#fe,#07
	db #05,#fe,#00,#8c,#07,#08,#fe,#f2
	db #92,#0c,#fe,#f4,#0c,#0c,#fe,#02
	db #83,#05,#fe,#07,#05,#fe,#02,#83
	db #05,#fe,#07,#05,#fe,#00,#8c,#07
	db #08,#fe,#f2,#88,#0c,#ff
.l6b30
	db #83,#01
	db #02,#90,#03,#90,#03,#90,#03,#c0
	db #50,#fe,#02,#06,#06,#fe,#00,#0a
	db #fe,#02,#06,#06,#fe,#00,#0b,#0a
	db #0d,#01,#0f,#fe,#02,#0b,#06,#06
	db #fe,#00,#10,#88,#0e,#ff
.l6b58
	db #c0,#28
	db #88,#00,#04,#04,#fe,#02,#04,#04
	db #fe,#00,#09,#fe,#02,#04,#04,#fe
	db #00,#09,#93,#0e,#03,#03,#fe,#02
	db #04,#04,#fe,#00,#09,#fe,#f2,#88
	db #0c,#ff
.l6b7c
	db #fe,#f4,#11,#fe,#f9,#11
	db #fe,#f4,#11,#fe,#f9,#12,#94,#16
	db #ff
.l6b8b
	db #13,#c0,#50,#15,#15,#17,#17
	db #ff
.l6b93
	db #9b,#14,#ff
.l6b96
	db #7f,#fd,#01,#ff,#7f,#00,#04,#06
	db #00,#01,#7f,#f7,#01,#ff,#7f,#00
	db #04,#06,#00,#01,#7f,#fb,#01,#ff
	db #7f,#00,#00,#3c,#00,#03,#7f,#ec
	db #01,#ff,#64,#00,#00,#00,#00,#02
	db #7f,#fd,#01,#ff,#7f,#00,#82,#00
	db #00,#01,#3c,#fd,#63,#fe,#7f,#00
	db #00,#00,#00,#01,#7f,#ff,#01,#ff
	db #7f,#05,#87,#fa,#ff,#01,#7f,#ff
	db #01,#ff,#7f,#05,#03,#01,#00,#01
	db #08,#ff,#01,#ff,#01,#05,#03,#01
	db #00,#05,#8a,#29,#41,#00,#00,#00
	db #00,#00,#8a,#29,#49,#00,#00,#00
	db #00,#00,#8a,#19,#41,#00,#00,#00
	db #00,#00,#8a,#21,#39,#00,#00,#00
	db #00,#00,#89,#61,#00,#00,#00,#00
	db #00,#00
.l6c18
	db #11,#c3,#26,#60,#76,#19,#11,#07
	db #27,#60,#76,#19,#0d,#4b,#27,#88
	db #76,#19,#22,#7f,#27,#20,#77,#09
	db #22,#27,#28,#20,#77,#09,#22,#af
	db #28,#20,#77,#09,#22,#37,#29,#30
	db #77,#09,#22,#bf,#29,#b0,#77,#09
	db #14,#47,#2a,#e8,#75,#39,#d9,#8f
	db #d9,#8f,#d9,#8f,#d9,#8f,#d0,#8f
	db #e1,#8f,#48,#91,#55,#91,#fd,#8f
	db #f1,#8f,#0d,#90,#1c,#90,#2c,#90
	db #3a,#90,#4a,#90,#4a,#90,#ac,#91
	db #e2,#91,#e5,#91,#e2,#91,#e5,#91
	db #e2,#91,#e5,#91,#0d,#90,#5a,#90
	db #0b,#3f,#ff,#ff,#ff,#ff,#ff,#ff
	db #ff,#ff,#ff,#ff,#ff,#ff,#ff,#ff
	db #ff,#ff,#df,#ef,#f9,#f2,#fb,#f6
	db #fd,#f5,#f5,#f5,#44,#00,#00,#00
	db #00,#e6,#00,#00,#76,#11,#3e,#c7
	db #88,#00,#00,#00,#00,#11,#3e,#c7
	db #88,#e6,#00,#00,#76,#00,#00,#00
	db #00,#22,#fa,#fa,#fa,#fb,#f6,#fd
	db #0f,#3e,#30,#10,#30,#10,#e0,#70
	db #30,#10,#30,#10,#e0,#70,#30,#10
	db #30,#10,#d7,#ef,#f8,#f6,#fa,#ff
	db #cf,#ff,#ff,#ff,#fd,#fc,#ff,#11
	db #91,#ff,#ff,#ff,#ff,#98,#88,#ff
	db #ff,#ba,#cf,#3f,#d5,#ff,#ff,#11
	db #91,#ff,#ff,#ff,#ff,#98,#88,#ff
	db #f2,#fb,#ff,#ff,#ff,#3f,#ff,#f5
	db #0f,#3e,#80,#30,#80,#30,#e0,#70
	db #80,#30,#80,#30,#e0,#70,#80,#30
	db #80,#30,#d7,#ef,#ff,#ff,#ff,#ff
	db #ff,#ff,#ff,#ff,#ff,#ff,#99,#f7
	db #ff,#ff,#ff,#ff,#ff,#ff,#fe,#99
	db #0f,#ba,#cf,#3f,#d5,#0f,#99,#f7
	db #ff,#ff,#ff,#ff,#ff,#ff,#fe,#99
	db #ff,#ff,#ef,#0f,#0f,#7f,#ff,#ff
	db #3f,#0f,#0f,#0f,#0f,#0f,#0f,#0f
	db #0f,#0f,#0f,#0f,#0f,#0f,#0f,#0f
	db #0f,#0f,#1f,#ef,#ff,#ff,#ff,#ff
	db #ff,#ff,#ff,#ff,#ff,#ff,#c8,#fb
	db #ff,#d8,#ff,#ff,#ff,#ff,#fd,#31
	db #ea,#32,#cf,#3f,#c4,#75,#c8,#fb
	db #73,#ff,#ff,#ff,#ff,#ff,#fd,#31
	db #ff,#ff,#ff,#ff,#ff,#ff,#ff,#ff
	db #0f,#3e,#f0,#f0,#f0,#f0,#f0,#f0
	db #f0,#f0,#f0,#f0,#f0,#f0,#f0,#f0
	db #f0,#f0,#d7,#ef,#ff,#ff,#ff,#ff
	db #ff,#ff,#ff,#ff,#ff,#ff,#ff,#ee
	db #32,#f7,#ff,#ff,#fe,#c4,#74,#f0
	db #e2,#32,#fb,#fd,#c4,#74,#f0,#e2
	db #32,#f7,#ff,#ff,#fe,#c4,#77,#ff
	db #ff,#ff,#ff,#ff,#ff,#ff,#ff,#ff
	db #00,#00,#02,#00,#00,#00,#27,#00
	db #00,#00,#4e,#00,#00,#01,#8c,#00
	db #00,#13,#08,#00,#00,#27,#00,#00
	db #00,#4e,#00,#00,#01,#8c,#00,#00
	db #11,#08,#00,#00,#11,#08,#00,#00
	db #01,#8c,#00,#00,#00,#4e,#00,#00
	db #00,#27,#00,#00,#00,#13,#08,#00
	db #00,#01,#8c,#00,#00,#00,#4e,#00
	db #00,#00,#27,#00,#00,#00,#02,#00
	db #00,#00,#01,#88,#00,#00,#13,#08
	db #00,#00,#27,#00,#00,#00,#4e,#00
	db #00,#01,#8c,#00,#00,#13,#08,#00
	db #00,#27,#00,#00,#00,#4e,#00,#00
	db #00,#04,#00,#00,#00,#04,#00,#00
	db #00,#4e,#00,#00,#00,#27,#00,#00
	db #00,#13,#08,#00,#00,#01,#8c,#00
	db #00,#00,#4e,#00,#00,#00,#27,#00
	db #00,#00,#13,#08,#00,#00,#01,#88
	db #00,#00,#02,#00,#00,#00,#6e,#00
	db #00,#13,#8c,#00,#00,#6f,#00,#00
	db #13,#8c,#00,#00,#6f,#00,#00,#00
	db #8c,#00,#00,#00,#8c,#00,#00,#00
	db #6f,#00,#00,#00,#13,#8c,#00,#00
	db #00,#6f,#00,#00,#00,#13,#8c,#00
	db #00,#00,#6e,#00,#00,#00,#02,#00
	db #00,#00,#00,#13,#00,#00,#00,#6f
	db #00,#00,#13,#8c,#00,#00,#6f,#00
	db #00,#13,#8c,#00,#00,#67,#00,#00
	db #00,#04,#00,#00,#00,#04,#00,#00
	db #00,#67,#00,#00,#00,#13,#8c,#00
	db #00,#00,#6f,#00,#00,#00,#13,#8c
	db #00,#00,#00,#6f,#00,#00,#00,#13
	db #ff,#ff,#ee,#00,#ff,#ff,#ee,#00
	db #00,#77,#ff,#ff,#00,#77,#ff,#ff
	db #00,#23,#00,#00,#00,#13,#00,#00
	db #00,#11,#08,#00,#00,#01,#88,#00
	db #00,#00,#8c,#00,#00,#00,#4c,#00
	db #00,#00,#46,#00,#00,#00,#26,#00
	db #00,#00,#23,#00,#00,#00,#13,#00
	db #00,#00,#4c,#00,#00,#00,#8c,#00
	db #00,#01,#88,#00,#00,#11,#08,#00
	db #00,#13,#00,#00,#00,#23,#00,#00
	db #00,#26,#00,#00,#00,#46,#00,#00
	db #00,#4c,#00,#00,#00,#8c,#00,#00
	db #00,#00,#11,#88,#00,#00,#11,#88
	db #00,#00,#11,#88,#00,#00,#11,#88
	db #00,#00,#11,#88,#00,#00,#11,#88
	db #00,#00,#11,#88,#00,#00,#11,#88
	db #00,#00,#11,#88,#00,#00,#11,#88
	db #00,#00,#11,#88,#ef,#7f,#cf,#3f
	db #cf,#3f,#cf,#3f,#cf,#3f,#ef,#7f
	db #ee,#77,#cc,#33,#cc,#33,#cc,#33
	db #cc,#33,#ee,#77,#dd,#bb,#88,#11
	db #8b,#1d,#8b,#1d,#88,#11,#ff,#ff
	db #fd,#fb,#f8,#f1,#fb,#fd,#fb,#fd
	db #f8,#f1,#ff,#ff,#13,#1a,#67,#c3
	db #31,#62,#fd,#86,#0a,#c6,#0c,#fd
	db #77,#0e,#21,#2f,#63,#87,#4f,#06
	db #00,#09,#7e,#23,#66,#6f,#fd,#7e
	db #0f,#f6,#c0,#fd,#77,#14,#13,#1a
	db #13,#fd,#77,#0c,#4f,#fd,#73,#05
	db #fd,#72,#06,#fd,#5e,#07,#fd,#7e
	db #08,#fd,#67,#fd,#6b,#dd,#cb,#11
	db #7e,#c0,#c3,#11,#64,#13,#1a,#13
	db #fd,#77,#0c,#fd,#73,#05,#fd,#72
	db #06,#c9,#1a,#fe,#88,#30,#19,#e6
	db #07,#fd,#86,#00,#4f,#06,#00,#21
	db #76,#60,#09,#4e,#21,#96,#6b,#09
	db #fd,#75,#07,#fd,#74,#08,#13,#c9
	db #fe,#ff,#20,#05,#fd,#36,#0b,#ff
	db #c9,#fe,#c0,#30,#07,#e6,#0f,#fd
	db #77,#0f,#13,#c9,#13,#fe,#c2,#c8
	db #3f,#0f,#0f,#0f,#0f,#0f,#0f,#0f
	db #0f,#0f,#0f,#0f,#0f,#0f,#0f,#0f
	db #0f,#0f,#1f,#ef,#fb,#fa,#f3,#f9
	db #aa,#aa,#aa,#aa,#00,#00,#00,#00
	db #00,#10,#ff,#ff,#80,#11,#2e,#47
	db #88,#00,#00,#00,#00,#11,#2e,#47
	db #88,#10,#ff,#ff,#80,#00,#00,#00
	db #00,#00,#55,#55,#55,#55,#f9,#fc
	db #0f,#3e,#30,#10,#30,#10,#e0,#70
	db #30,#10,#30,#10,#e0,#70,#30,#10
	db #30,#10,#d7,#ef,#fe,#f7,#fe,#f3
	db #9f,#ff,#ff,#ff,#fd,#fb,#ff,#88
	db #fb,#fe,#ff,#ff,#f7,#fd,#11,#f0
	db #ee,#32,#cf,#3f,#c4,#77,#f0,#88
	db #fb,#ff,#ff,#ff,#ff,#fd,#11,#ff
	db #fd,#fb,#ff,#ff,#ff,#9f,#fc,#f7
	db #0f,#3e,#80,#30,#80,#30,#e0,#70
	db #80,#30,#80,#30,#e0,#70,#80,#30
	db #80,#30,#d7,#ef,#ff,#ff,#ff,#ff
	db #ff,#ff,#ff,#ff,#ff,#ff,#99,#f7
	db #ff,#ff,#ff,#ff,#ff,#ff,#fe,#99
	db #0f,#ba,#cf,#3f,#d5,#0f,#99,#f7
	db #ff,#ff,#ff,#ff,#ff,#ff,#fe,#99
	db #ff,#ff,#8f,#7f,#ef,#3f,#ff,#ff
	db #4c,#8f,#0f,#0f,#0f,#0f,#0f,#0f
	db #0f,#0f,#0f,#0f,#0f,#0f,#0f,#0f
	db #5f,#5f,#ff,#23,#ff,#ff,#ff,#ff
	db #ff,#ff,#ff,#ff,#ff,#ff,#99,#f7
	db #f7,#ec,#f7,#ff,#ff,#fe,#fe,#99
	db #e2,#32,#cf,#3f,#c4,#74,#99,#f7
	db #90,#ff,#ff,#ff,#ff,#ff,#fe,#99
	db #ff,#ff,#ff,#ff,#ff,#ff,#ff,#ff
	db #0f,#3e,#f0,#f0,#f0,#f0,#f0,#f0
	db #f0,#f0,#f0,#f0,#f0,#f0,#f0,#f0
	db #f0,#f0,#d7,#ef,#ff,#ff,#ff,#ff
	db #ff,#ff,#ff,#ff,#ff,#ff,#ff,#cc
	db #75,#df,#af,#ef,#bf,#ea,#33,#ff
	db #ea,#32,#fb,#fd,#c4,#75,#ff,#cc
	db #75,#df,#5f,#df,#bf,#ea,#33,#ff
	db #ff,#ff,#ff,#ff,#ff,#ff,#ff,#ff
	db #05


;org #9392	; exemple play
;call #6003
;ld a,(#6006)
;or a
;ld a,#01
;call z,#6000
;
.game_name
	db "Super Scramble Simulator",0
.game_year
	db "1989",0
.game_publisher
	db "Gremlin Graphics",0
.music_author
	db "Ben Daglish",0
.music_comment
	db "",0

	read "music_end_v1_0.asm"
